package org.example.what_mall.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OrderState {
    ALL(-1, "全部"),
    CART(0, "购物车"),
    UNPAID(1, "待付款"),
    UNSHIPPED(2, "待发货"),
    SHIPPED(3, "已发货");

    private final int code;
    private final String description;
}
